import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

// https://vitejs.dev/config/
export default defineConfig({
  resolve: {
    // 兼容 next 组件 ~@alifd/xxx.scss 的写法
    alias: [
      { find: /^~/, replacement: '' }
    ],
  },
  plugins: [react()],
})
